/**
* AutoSWF - Cody Cushing. March 26, 2009
* Copyright (c) 2009 Cody Cushing
* No use restrictions. Maintain this notice in all versions. 
**/

package com.autoswf.taskrunner
{
	import flash.events.IEventDispatcher;

	/**
	 * A task to run that generates a result.
	 */
	public interface ITask extends IEventDispatcher
	{
		/** Key for this task. */
		function get id():String
		
		/** The result of this task's execution. */
		function get result():*
		
		/** Method to begin execution of the task. */
		function run():void
	}
}